﻿@using NextAction.Domain.Entities;

@model IEnumerable<NextAction.Domain.Entities.GtdProject>

@{
    ViewBag.Title = "Projects";
}

@if (false)
{
    <script src="~/Scripts/jquery-1.7-vsdoc.js" type="text/javascript"></script>
    <script src="~/Scripts/next.action-1.0.js" type="text/javascript"></script>
}

<div class="left" id="main_left">
    <div id="sidebar">

        <div class="box">
	        <div class="box_title">Projects</div>
		    <div class="box_body">
			    <ul> 
                    @foreach (var project in Model)
                    {
                        Html.RenderPartial("ProjectRow", project);
                    }        

			    </ul>
		    </div>
    	    <div class="box_bottom"></div>
	    </div>
    </div>
 </div>

<div id="main_right" class="left">
    <div id="main_right_content">
        @{  
            Html.RenderAction("Index", "Task", new { BucketType = BucketType.Inbox }); 
        }
    </div>
</div>
